<?php
/**
 * Save Handler Cache
 *
 * @package Session
 * @author shukyyang@pplive.com
 * @version $Id: SaveHandlerInterface.php 770 2011-11-16 07:44:51Z shukyyang $
 */
namespace SF\Session;

interface SaveHandlerInterface
{
    public function open($save_path, $name);
    public function close();
    public function read($id);
    public function write($id, $data);
    public function destroy($id);
    public function gc($maxlifetime);
}